package com.huluobo.base.view;

/**
 * 自定义EventBus事件对象
 */
public class Event {
    private String target;//标识目标页面

    private Object data;//携带的参数,或者数据

    private int type;//类型

    public Event(String target, Object data, int type) {
        this.target = target;
        this.data = data;
        this.type = type;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
